package com.test;

import org.junit.Test;

import java.util.ArrayList;
import java.util.List;

public class DecodePermission {
    @Test
    public void testP() {
        String[] arrayPermission;
        ArrayList<Boolean> arrayPermissionMust;

        int extra = 1073741875;
        List<String> permission = PermissionConstant.checkPermission(extra);
        arrayPermissionMust = PermissionConstant.getPermissionMustArray(extra);

        System.out.println("---------------permission--------");
        for (String s : permission) {
            System.out.println(s);
        }

        System.out.println("---------------------must-=------------");
        for (Boolean b : arrayPermissionMust) {
            System.out.println(b);
        }
    }
}
